#ifndef KEYWORDMATCH_H_INCLUDED
#define KEYWORDMATCH_H_INCLUDED

int matchSegment(char * segment);
int matchMnemonic(char * mnemonic);
int matchLabelType(char * type);
int matchRegister(char * reg);

int getValue (char * errorMsg, char * writeBuffer, struct labelManager * lManager, int allowTypes,
              int * returnType, void * returnValue, int * returnLength, bool offset);

int getAsciiString(char * ascii, char * writeTo);

bool isNumber(char * number);
bool isAsciiString(char * ascii);
bool isBracket(char * bracket);
bool isDataAddress(char * label);

int parseBracket (char * bracket, int * mRegister, int * mSign, char * writeTo);

#endif // KEYWORDMATCH_H_INCLUDED
